package com.itedge.infrastructure.service.domain;

import java.util.List;

/**
 * Service for Entities which contains one enumeration (common case).
 * 
 * @author jhe
 * 
 * @param <E>
 */
public interface IEnumeratedEntityService<E> extends IEntityService<E> {
	
	/**
	 * Returns entities which have some common enumeration.
	 * 
	 * @param param
	 * @return list with entities which share enumeration in parameter
	 */
	public List<E> findEntitiesByEnumeration(Enum<?> param);

}
